<template>
  <div class="rule">
    <van-cell title="营业资质" @click="business"></van-cell>
    <van-cell title="服务承诺" @click="promise"></van-cell>
    <van-collapse v-model="rule1">
      <van-collapse-item title="公示栏" name="3">
        <van-collapse v-model="rule2">
          <van-collapse-item title="《饿了么超级会员服务协议》公示通知" name="1">暂无</van-collapse-item>
          <van-collapse-item title="《饿了么·成人/情趣用品商品管理规范》规则新增公示" name="2">暂无</van-collapse-item>
          <van-collapse-item title="《饿了么·电子烟商品暂行管理规范》规则新增公示" name="3">暂无</van-collapse-item>
        </van-collapse>
      </van-collapse-item>
      <van-collapse-item title="饿了么平台规则" name="4">
        <van-collapse v-model="rule2">
          <van-collapse-item title="用户协议" name="1">暂无</van-collapse-item>
          <van-collapse-item title="平台公告" name="2">暂无</van-collapse-item>
          <van-collapse-item title="售后规则" name="3">暂无</van-collapse-item>
        </van-collapse>
      </van-collapse-item>
      <van-collapse-item title="餐饮中心规则" name="5">
        <van-collapse v-model="rule2">
          <van-collapse-item title="基础规则" name="1">暂无</van-collapse-item>
          <van-collapse-item title="商户准入规则" name="2">暂无</van-collapse-item>
          <van-collapse-item title="商品管理规则" name="3">暂无</van-collapse-item>
        </van-collapse>
      </van-collapse-item>
      <van-collapse-item title="非中心规则" name="6">
        <van-collapse v-model="rule2">
          <van-collapse-item title="基础规则" name="1">暂无</van-collapse-item>
          <van-collapse-item title="平台项目商户入驻规则" name="2">暂无</van-collapse-item>
          <van-collapse-item title="平台项目商户运营管理规则" name="3">暂无</van-collapse-item>
        </van-collapse>
      </van-collapse-item>
      <van-collapse-item title="政府信息公示" name="7">
        <van-collapse v-model="rule2">
          <van-collapse-item title="法规" name="1">暂无</van-collapse-item>
          <van-collapse-item title="标准" name="2">暂无</van-collapse-item>
          <van-collapse-item title="公告" name="3">暂无</van-collapse-item>
        </van-collapse>
      </van-collapse-item>
    </van-collapse>
  </div>
</template>
<script>
export default {
  data: () => ({
    rule1: [],
    rule2: []
  }),
  created() {},
  methods: {
    business() {
      this.$router.push("./rule/business");
    },
    promise() {
      this.$router.push("./rule/promise");
    }
  }
};
</script>
<style lang="less" scoped>
</style>